package com.serkol.ams.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName users_wallet_log
 */
@TableName(value ="users_wallet_log")
@Data
public class UsersWalletLog implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private Long walletId;

    /**
     * 
     */
    private Long userId;

    /**
     * 
     */
    private BigDecimal price;

    /**
     * 
     */
    private Integer state;

    /**
     * 
     */
    private Integer type;

    /**
     * 
     */
    private String remark;

    /**
     * 
     */
    private Integer status;

    /**
     * 
     */
    private Date createDate;

    /**
     * 
     */
    private Date updateDate;

    /**
     * 
     */
    private BigDecimal balance;

    /**
     * 
     */
    private BigDecimal balanceOld;

    /**
     * 
     */
    private Long operatorId;

    /**
     * 
     */
    private Long orderUserId;
    private Long orderId;
    @TableField(exist = false)
    private String orderUserName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}